package com.example.mysqltry.commom;

public class Constants {
    public final static String FILE_UPLOAD_DIC="D:\\examples\\newbee-mall-api-master\\newbee-mall-api-master\\src\\main\\resources\\upload\\upload;";
    public final static int TOKEN_LENGTH = 32;//token字段长度

    public final static String USER_INTRO = "随新所欲，蜂富多彩";//默认简介
    public final static int INDEX_CAROUSEL_NUMBER=3;

    public final static int INDEX_GOODS_HOT_NUMBER = 4;//首页热卖商品数量
    public final static int INDEX_GOODS_NEW_NUMBER = 5;//首页新品数量
    public final static int INDEX_GOODS_RECOMMOND_NUMBER = 10;//首页推荐商品数量
    public final static int INDEX_CATEGORY_NUMBER = 10;//分类的最大数量

    public final static int GOODS_SEARCH_PAGE_LIMIT = 10;//搜索分页的默认条数(每页10条)

    public final static int SELL_STATUS_UP = 0;//商品上架状态
    public final static int SELL_STATUS_DOWN = 1;//商品下架状态
    public final static int SHOPPING_CART_ITEM_TOTAL_NUMBER = 20;//购物车中商品的最大数量(可根据自身需求修改)

    public final static int SHOPPING_CART_ITEM_LIMIT_NUMBER = 5;//购物车中单个商品的最大购买数量(可根据自身需求修改)

    public final static int SHOPPING_CART_PAGE_LIMIT = 5;//购物车分页的默认条数(每页5条)
}
